﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BaddiesEditor.Events
{
    /// <summary>
    /// Argments class for the save map form.
    /// </summary>
    public class SaveMapArg : EventArgs
    {
        /// <summary>
        /// User name for the save file.
        /// </summary>
        private string newName;

        /// <summary>
        /// Initializes a new instance of the SaveMapArg class.
        /// </summary>
        /// <param name="newName">Name of the save file.</param>
        public SaveMapArg(string newName) 
        {
            this.newName = newName;
        }

        /// <summary>
        /// Gets the name of the save file.
        /// </summary>
        /// <value>Name of the save file.</value>
        public string NewName
        {
            get { return this.newName; }
        }
    }
}
